home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
ole2book.zip
/
CHAP07.ZIP
/
CHAP07
/
COSCHMOO
/
RESOURCE.H
< prev
Wrap
C/C++ Source or Header
|
1993-04-14
|
3KB
|
98 lines
/*
* RESOURCE.H
* Component Schmoo Chapter 7
*
* Definitions specifically pertaining to resources.
*
* Copyright (c)1993 Microsoft Corporation, All Rights Reserved
*
* Kraig Brockschmidt, Software Design Engineer
* Microsoft Systems Developer Relations
*
* Internet : kraigb@microsoft.com
* Compuserve: >INTERNET:kraigb@microsoft.com
*/
#ifndef _RESOURCE_H_
#define _RESOURCE_H_
//Note that we augment classlib.h which we include before this.
//Position of Window menu.
#undef WINDOW_MENU
#define WINDOW_MENU 4
//Total number of menus
#undef CMENUS
#define CMENUS 5
//Menu command identifiers.
#define IDM_FILEIMPORT (IDM_CUSTOMFILEMIN)
#define IDM_COLORBACKGROUND (IDM_CUSTOMMIN)
#define IDM_COLORLINE (IDM_CUSTOMMIN+1)
//This ifdef is to remind me to cross-check PS_ values under Win32
#ifndef WIN32
#define IDM_LINEMIN (IDM_CUSTOMMIN+100)
#define IDM_LINESOLID (IDM_LINEMIN+0) //PS_SOLID 0
#define IDM_LINEDASH (IDM_LINEMIN+1) //PS_DASH 1
#define IDM_LINEDOT (IDM_LINEMIN+2) //PS_DOT 2
#define IDM_LINEDASHDOT (IDM_LINEMIN+3) //PS_DASHDOT 3
#define IDM_LINEDASHDOTDOT (IDM_LINEMIN+4) //PS_DASHDOTDOT 4
#define IDM_LINEMAX IDM_LINEDASHDOTDOT
#endif
/*
* IDs for StatStrip handling of popup menus: must be in order of menu
* CLASSRES.H already defines ID_MENUFILE and ID_MENUEDIT for us.
*/
#undef ID_MENUWINDOW
#undef ID_MENUHELP
#define ID_MENUCOLOR (ID_STANDARDMAX+3)
#define ID_MENULINE (ID_STANDARDMAX+4)
#define ID_MENUWINDOW (ID_STANDARDMAX+5)
#define ID_MENUHELP (ID_STANDARDMAX+6)
//Stringtable IDs. Keep sequential for each group.
#define IDS_FRAMEMIN IDS_STANDARDFRAMEMIN
#define IDS_FILEIMPORT (IDS_STANDARDFRAMEMAX+1)
#define IDS_FRAMEMAX (IDS_STANDARDFRAMEMAX+1)
#define IDS_DOCUMENTMIN IDS_STANDARDDOCMIN
#define IDS_DOCUMENTMAX IDS_STANDARDDOCMAX
//These are specifically for the StatStrip
#define IDS_STATMESSAGEMIN IDS_STANDARDSTATMESSAGEMIN
#define IDS_ITEMMESSAGEFILEIMPORT (IDS_STANDARDSTATMESSAGEMAX+1)
#define IDS_MENUMESSAGECOLOR (IDS_STANDARDSTATMESSAGEMAX+2)
#define IDS_ITEMMESSAGECOLORBACKGROUND (IDS_STANDARDSTATMESSAGEMAX+3)
#define IDS_ITEMMESSAGECOLORLINE (IDS_STANDARDSTATMESSAGEMAX+4)
#define IDS_MENUMESSAGELINE (IDS_STANDARDSTATMESSAGEMAX+5)
#define IDS_ITEMMESSAGELINESOLID (IDS_STANDARDSTATMESSAGEMAX+6)
#define IDS_ITEMMESSAGELINEDASH (IDS_STANDARDSTATMESSAGEMAX+7)
#define IDS_ITEMMESSAGELINEDOT (IDS_STANDARDSTATMESSAGEMAX+8)
#define IDS_ITEMMESSAGELINEDASHDOT (IDS_STANDARDSTATMESSAGEMAX+9)
#define IDS_ITEMMESSAGELINEDASHDOTDOT (IDS_STANDARDSTATMESSAGEMAX+10)
#define IDS_STATMESSAGEMAX (IDS_STANDARDSTATMESSAGEMAX+11)
#endif //_RESOURCE_H_